Skip to content

fix(renderer): Render articles without symbol metadata - #28

Merged
philprime merged 1 commit into
mainfrom
investigation
Sep 22, 2026
Merged

philprime merged 1 commit into
mainfrom
investigation

Conversation

@philprime

Copy link
Copy Markdown
Member

Allow types view to render DocC articles that omit module and symbol metadata instead of failing during decoding. Missing modules default to an empty list, and the symbol-kind line appears only when present. Raw JSON output remains unchanged.

Verification

Added a regression test and observed the original missing-modules failure before applying the fix. make test passed with 108 tests and one expected known issue in the HTTP test transport self-test. make analyze and make build passed after formatting. The standard test run skips the opt-in integration suite.

The release binary successfully rendered the originally failing command:

dist/apple-docs types view distributing-binary-frameworks-as-swift-packages --technology Xcode

@philprime
philprime enabled auto-merge (squash) September 22, 2026 08:51
@philprime
philprime merged commit 0d78237 into main Sep 22, 2026
15 checks passed
@philprime
philprime deleted the investigation branch September 22, 2026 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant